package com.tx.model;

import java.util.List;

/**
 * @author dengguoxing
 * @date 2019/11/6
 * description
 **/
public class WsSubscribeRequest {

    /**
     * 消息事件 订阅sub 订阅回复subed 取消订阅unsub 取消订阅回复unsubed 推送push 系统system
     */
    private String event;

    /**
     * 订阅主题列表
     */
    private List<String> topic;

    /**
     * 当前时间戳
     */
    private long ts;

    /**
     * 订阅频率 如1000ms
     */
    private String frequency;

    /**
     * 消息内容
     */
    private Object data;

    public String getEvent() {
        return event;
    }

    public void setEvent(String event) {
        this.event = event;
    }

    public List<String> getTopic() {
        return topic;
    }

    public void setTopic(List<String> topic) {
        this.topic = topic;
    }

    public long getTs() {
        return ts;
    }

    public void setTs(long ts) {
        this.ts = ts;
    }

    public String getFrequency() {
        return frequency;
    }

    public void setFrequency(String frequency) {
        this.frequency = frequency;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
